#import neo_cgi

#from utils.cv import PyObject2HDFConverter
#from utils.singleton_base import SingletonBase
#
#class CSParser(SingletonBase):
#    ncgi = neo_cgi.CGI()
#    converter = PyObject2HDFConverter()
#
#    def __init__(self):
#        pass
#    
#    def parseHtml(self, templateFilename, data):
#        self.converter.tohdf('', data, self.ncgi.hdf)
#        cs = self.ncgi.cs()
#        cs.parseFile(templateFilename)
#        return cs.render()
#_ = """
#data = {
#        'Hello': 'Hello World!',
#        'WeekDays': {
#            '0': 'Sunday',
#            '1': 'Monday',
#            '2': 'Tuesday',
#            '3': 'Wednesday',
#            '4': 'Thursday',
#            '5': 'Friday',
#            '6': 'Saturday'
#        }
#}
#cs = CSParser()
#print cs.parseHtml('hello.cst', data)
#"""